<template>
  <ph-view>
    <ph-blockquote type="primary">该组件为独立组件<br/><a href="https://www.npmjs.com/package/ph-notification" target="_blank">npm 地址</a></ph-blockquote>
    <ph-tab>
      <ph-tab-panel title="案例展示">
        <ph-preview url="/notification-autofit"/>
        <demo/>
      </ph-tab-panel>
      <ph-tab-panel title="script">
        <ph-pretty>{{usage}}</ph-pretty>
      </ph-tab-panel>
      <ph-tab-panel title="基本介绍">
        <ph-pretty>{{intro}}</ph-pretty>
      </ph-tab-panel>
    </ph-tab>
  </ph-view>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import { PhBlockquote,PhView, PhTabPanel, PhTab } from "@/index";
import Demo from './free/notification.vue'
import * as Data from '../data/notification'
export default defineComponent({
  components: {
    PhBlockquote,PhView,
    PhTabPanel,
    PhTab,
    Demo
  },
  setup() {
    return {
      ...Data
    };
  },
});
</script>
